package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class SubmitOrder {

    @JSONField(name = "category")
    private String category;
    @JSONField(name = "id")
    private String id;
    @JSONField(name = "imgUrl")
    private String imgUrl;
    @JSONField(name = "nickName")
    private String nickName;
    @JSONField(name = "price")
    private String price;
    @JSONField(name = "serviceLevel")
    private String serviceLevel;
    @JSONField(name = "timeSeletor")
    private List<TimeSeletorDTO> timeSeletor;
    @JSONField(name = "unit")
    private String unit;

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getServiceLevel() {
        return serviceLevel;
    }

    public void setServiceLevel(String serviceLevel) {
        this.serviceLevel = serviceLevel;
    }

    public List<TimeSeletorDTO> getTimeSeletor() {
        return timeSeletor;
    }

    public void setTimeSeletor(List<TimeSeletorDTO> timeSeletor) {
        this.timeSeletor = timeSeletor;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @NoArgsConstructor
    @Data
    public static class TimeSeletorDTO {
        @JSONField(name = "max")
        private int max;
        @JSONField(name = "realDate")
        private String realDate;
        @JSONField(name = "status")
        private int status;
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "tips")
        private String tips;
        @JSONField(name = "week")
        private String week;

        public int getMax() {
            return max;
        }

        public void setMax(int max) {
            this.max = max;
        }

        public String getRealDate() {
            return realDate;
        }

        public void setRealDate(String realDate) {
            this.realDate = realDate;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getTips() {
            return tips;
        }

        public void setTips(String tips) {
            this.tips = tips;
        }

        public String getWeek() {
            return week;
        }

        public void setWeek(String week) {
            this.week = week;
        }
    }
}
